<template>
  <div class="box" v-if="dialogShow">
   <div class="box1">
    <div class="box1-btn">
      <button>返回主页</button>
    </div>
   </div>
  </div>
</template>

<script>
export default {
  name: 'topDialog',
  props: {
  },
  data() {
    return {
      dialogShow: true,
    };
  },
  methods: {
    openDialog(){
      this.dialogShow = true
    },
    closeDialog(){
      this.dialogShow = false
    }
  },
  mounted() {
   
  },
};
</script>

<style scoped>
/* .box {
  width:100%;
  height: 80px;
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index:99;
  opacity: .9; */
  /* background: rgba(162, 168, 255, 0.5); */
  /* backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px); */
  /* box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 4px 2px rgba(255, 255, 255, 0.2);
}
.box1{
  width: 160px;
  height: 100%;
  position: absolute;
  right: 0;
  padding-right: 10px;
}
.box1-btn{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
} */
</style>
